package com.fone.player.activity;

import com.fone.player.util.ActivityQueue;

/**
 * The subclass of this interface is stackable that can push into or pop from itself activity stack.
 * for example, some activity may be pushed into a {@link ActivityQueue} so those activities
 * should implement this interface.
 * 
 * @author kongxiaojun
 * @since 2014-5-14
 */
public interface Stackable {
	/**
	 * Push self into an stack
	 */
	public abstract void push();
	
	/**
	 * Pop self from an stack
	 */
	public abstract void pop();
	
}
